package com.itstudio.portal.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itstudio.portal.entity.Contact;
import com.itstudio.portal.entity.RestResponse;
import com.itstudio.portal.mapper.ContactMapper;
import com.itstudio.portal.service.ContactService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("contactService")
public class ContactServiceImpl extends ServiceImpl<ContactMapper, Contact> implements ContactService {
    @Autowired
    private ContactMapper contactMapper;


    @Override
    public Contact AllContact(Contact contact) {
        return contactMapper.AllContact(contact);
    }
}
